#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QLineEdit>
#include <QLabel>
#include <QPushButton>
#include <QDialog>

QT_BEGIN_NAMESPACE
namespace Ui { class MainWindow; }
QT_END_NAMESPACE

class MainWindow : public QDialog
{
    Q_OBJECT

public:
    MainWindow(QWidget *parent = nullptr);
    ~MainWindow();

public slots:
    void enableButton(void);
    void calcClicked(void);

private:
    Ui::MainWindow *ui;
    QLineEdit* leftNum;
    QLineEdit* rightNum;
    QLineEdit* resNum;
    QLabel* operat;
    QPushButton* equal;
};
#endif // MAINWINDOW_H
